import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/about',
      name: 'about',
      component: () => import('../views/AboutView.vue'),
    },
       {
      path: '/Qadd',
      component: () => import('../views/Qadd.vue'),
    },
       {
      path: '/Qshow',
      component: () => import('../views/Qshow.vue'),
    },
       {
      path: '/Qupdate',

      component: () => import('../views/Qupdate.vue'),
    },
           {
      path: '/Sadd',

      component: () => import('../views/Sadd.vue'),
    },
               {
      path: '/Sshow',

      component: () => import('../views/Sshow.vue'),
    },
                   {
      path: '/Hadd',

      component: () => import('../views/Hadd.vue'),
    },
                       {
      path: '/Hshow',

      component: () => import('../views/Hshow.vue'),
    },
                           {
      path: '/Hupdate',

      component: () => import('../views/Hupdate.vue'),
    },
                               {
      path: '/Login',

      component: () => import('../views/Login.vue'),
    },
  ],
})

export default router
